import { defineComponent } from 'vue'
import { WorkspacePanelItem } from './WorkspacePanel'

export const ToolbarPanel = defineComponent({
  setup(_, { slots }) {
    return () => (
      <WorkspacePanelItem
        style={{
          display: 'flex',
          justifyContent: 'space-between',
          marginBottom: 4,
          padding: '0 4px',
        }}
      >
        {slots.default?.()}
      </WorkspacePanelItem>
    )
  },
})
